projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98a49e5
)
imx: ventana: fix boot to SD
author
Tim Harvey
<
[email protected]
>
Wed, 6 May 2015 20:16:56 +0000
(13:16 -0700)
committer
Stefano Babic
<
[email protected]
>
Fri, 15 May 2015 17:20:48 +0000
(19:20 +0200)
This fixes a regression caused by
e25fbe3fe531029dc7b100ea4c79dbc802e17fc2
(gw_ventana: Move the DCD settings to spl code)
The clock gating must be setup prior to calling arch_cpu_init(). Without this
booting to SD (directly via eFuse or via bmode) will hang.
Cc: Fabio Estevam <
[email protected]
>
Signed-off-by: Tim Harvey <
[email protected]
>
Reviewed-by: Fabio Estevam <
[email protected]
>
board/gateworks/gw_ventana/gw_ventana_spl.c
patch
|
blob
|
history
diff --git
a/board/gateworks/gw_ventana/gw_ventana_spl.c
b/board/gateworks/gw_ventana/gw_ventana_spl.c
index 0c0fee3196250607db56a16821e7c9c90c44b48d..289a0b8d5db0a58a22b7411c1ca28b36cbf68c35 100644
(file)
--- a/
board/gateworks/gw_ventana/gw_ventana_spl.c
+++ b/
board/gateworks/gw_ventana/gw_ventana_spl.c
@@
-530,10
+530,13
@@
void board_init_f(ulong dummy)
struct ventana_board_info ventana_info;
int board_model;
+ /* setup clock gating */
+ ccgr_init();
+
/* setup AIPS and disable watchdog */
arch_cpu_init();
- ccgr_init();
+ /* setup AXI */
gpr_init();
/* iomux and setup of i2c */